SelfRestraint is a cross platform version of Steve Lambert's SelfControl, written in Python. It allows you to block distracting sites for a set amount of time, so you can use your computer and access the internet without having to worry about distract
That's why I've made SelfRestraint; it blocks websites you pick for a set amount of time. That way you can continue to go online without the fear of getting distracted.
SelfControl is a free and open-source application for macOS that lets you block your own access to distracting websites, your mail servers, or anything else on the Internet.